﻿using RXY_Mall.Application.Base.Dto;
using RXY_Mall.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RXY_Mall.Application.Base
{
    public interface IBaseService
    {
        List<gw_base_area> GetPrivoceListByPid(int parentId);
        
        List<gw_goods_category> GetCategoryListByPid(int parentId ,int tid);
        List<FreightTemplateDto> GetFreightTemplate(int shopId);

        #region 运费模板
        IList<FreightTemplateList> GetAllFreightTemplateByPage(int iDisplayStart, int iDisplayLength, string dateMin, string dateMax, string name, int type, int status, out int totalCount);
        bool SetTemplateIsShow(int manageId, int id, int isShow);
        FreightTemplateInput GetFreightTemplateById(int id);
        Task<Response<bool>> AddFreightTemplate(int managerId, FreightTemplateInput input);
        #endregion

        //订单取消 群发消息
        int SendOrderMsg();
    }
}
